﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IS_AxleloadRepository : IDal
    {
        /// <summary>
        /// 获取应用区间下轴载信息
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="applyIds"></param>
        /// <returns></returns>
        IEnumerable<T> GetAxleloadByApply<T>(string applyIds)
               where T : class, IS_Axleload;

        /// <summary>
        /// 获取路段下对应的轴载信息
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="rdwayid"></param>
        /// <param name="beginmp"></param>
        /// <param name="endmp"></param>
        /// <param name="direct"></param>
        /// <param name="ver"></param>
        /// <returns></returns>
        IEnumerable<T> GetAxleloadBySeg<T>(string rdwayid, double beginmp, double endmp, int direct, double? ver)
                where T : class, IS_Axleload;
    }
}
